package com.ruoyi.work.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 印章管理对象 work_seal
 *
 * @author fengcheng
 * @date 2025-03-17
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WorkSeal extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 印章ID
     */
    private Long suraId;

    /**
     * 部门id
     */
    private Long deptId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 部门名称
     */
    @Excel(name = "部门名称")
    private String deptName;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private String userName;

    /**
     * 印章名称
     */
    @Excel(name = "印章名称")
    private String name;

    /**
     * 印章类型(1=公章,2=财务章,3=合同章,4=法人章,5=私章,6=审批章,7=手印章,8=专用章,9=会议章,10=印鉴章,11=其他)
     */
    @Excel(name = "印章类型", dictType = "work_sura_type")
    private String type;

    /**
     * 印章图片
     */
    @Excel(name = "印章图片", cellType = Excel.ColumnType.IMAGE, height = 50)
    private String suraUrl;

    /**
     * 印章大小(1=42mm*42mm,2=40mm*40mm.3=38mm*38mm,4=36mm*36mm,5=34mm*34mm,6=32mm*32mm,7=30mm*30mm)
     */
    @Excel(name = "印章大小", dictType = "work_sura_size")
    private String suraSize;

    /**
     * 删除标志(0代表存在,1代表删除)
     */
    private String delFlag;
}
